using System;
using System.Collections.Generic;
using System.Text;
using AppExtensions.Routing;
using System.Web.Security;

namespace AspNetExtensions.Routing
{
    public class FormsRedirectToLoginRoute : Route
    {
        public override void Redirect()
        {
            FormsAuthentication.RedirectToLoginPage();
        }

        public override void Redirect(params KeyValuePair<string, string>[] parameterValues)
        {
            FormsAuthentication.RedirectToLoginPage();
        }
    }
}
